package php.code.functions;

import java.util.List;
import java.util.Map;

/**
 * Created by nuno-rafael-figueiredo on 25-05-2014.
 */
public class Functions {
    public static Isset isset(String var) {
        return new Isset(var);
    }

    public static <T> Array<T> array(TextLayout textLayout, List<T> items) {
        return new Array<>(textLayout, items);
    }

    public static <K> Array<K> array(TextLayout textLayout, Map<K, String> map) { return new Array<>(textLayout, map);}
}
